package com.have.blog.admin.domain.dto;

import com.have.blog.base.dto.BaseDto;
import com.have.blog.base.validator.annotation.IntegerNotNull;
import com.have.blog.base.validator.group.Insert;
import lombok.Data;
import lombok.ToString;


@Data
@ToString
public class PictureDto extends BaseDto<PictureDto> {


    /**
     * 图片名称
     */
    private String picName;

    /**
     * 所属相册分类UID
     */
    @IntegerNotNull(groups = {Insert.class})
    private Integer pictureCategoryUid;

    /**
     * 图片URL
     */
    private String pictureUrl;

    private Integer fileSourceUid;

    private String picExpendName;

    private Integer userUid;

    private Double picSize;

    private Integer adminUid;

    private String picOldName;

    private String qiniuUrl;

    private String localUrl;

    private Integer newUid;
}
